//------------------------------------------------------------------------------
//  Copyright (c) 2014-2016 the original author or authors. All Rights Reserved. 
// 
//  NOTICE: You are permitted to use, modify, and distribute this file 
//  in accordance with the terms of the license agreement accompanying it. 
//------------------------------------------------------------------------------

﻿namespace Robotlegs.Bender.Extensions.CommandCenter.API
{
	public interface ICommandTrigger
	{
		/// <summary>
		/// Invoked when the trigger should be activated.
		/// 
		/// <p>Use this to add event listeners or Signal handlers.</p>
		/// </summary>
		void Activate();

		/// <summary>
		/// Invoked when the trigger should be deactivated.
		/// 
		/// <p>Use this to remove event listeners or Signal handlers.</p>
		/// </summary>
		void Deactivate();
	}
}